package testJdk.commonUse.number.testInteger;

import org.junit.Test;

/**
 * @version 1.0.0
 * Created by cyd on 2023-07-04 21:52:57
 * @ClassName : testJdk.commonUse.number.testInteger.TestInteger
 * @Description : 类描述
 */
public class TestInteger {

    @Test
    public void test() {
        System.out.println(Integer.getInteger("abc"));
        System.out.println(Integer.getInteger("123"));
        // getInteger不好用，用valueOf
        System.out.println(Integer.valueOf("123"));
    }
}
